package com.wanmait.schedule.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.schedule.entity.NoticeRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanmait.schedule.entity.Student;

import java.util.List;

/**
 * <p>
 * 通知查看记录表 服务类
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
public interface NoticeRecordService extends IService<NoticeRecord> {
        List<NoticeRecord> findNoticeById(Integer id,Integer status);


        PageInfo<NoticeRecord> findByStudent(Integer id,Integer pageNum);
        PageInfo<NoticeRecord> findByTeacher(Integer id,Integer pageNum);

        Integer noReader(Integer id,Integer status);

        void delete(Integer id);
}
